package inherit;

public class Test {

	public static void main(String[] args) {
		Circle c=new Circle(3);
		System.out.println(c.getName()+" "+c.getArea());
		
		Rectangle r=new Rectangle(8, 4);
		System.out.println(r.getName()+"  "+r.getArea());
	}
}
